package com.micro.modual.mapper;


import com.micro.core.frame.mapper.BasicsMapper;
import com.micro.modual.entity.MessageText;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
*  <h1></h1>
 * @author levelcoder
 * @version V1.0.0
 * @email LevelCoder@126.com
 * @date 2020-08-04 00:11:10
 */
public interface MessageTextMapper extends BasicsMapper<MessageText>{

    /**
     * <h2>查询消息列表</h2>
     * @param params
     * @return
     */
    List<MessageText> findMessageTextList(Map<String, Object> params);


    /**
     * <h2>根据模块编号查询消息发送数量</h2>
     * @param moduleCode
     * @return
     */
    int findMessageTextCount(@Param("moduleCode") String moduleCode);
}
